package org.flow.basic.kotlin;

/**
 * @author xl-9527
 * @since 2024/11/12
 **/
public class RoleService {

    private final UserInfoService userInfoService;

    public RoleService() {
        this.userInfoService = new UserInfoService();
    }

    public void getRoleName(final String userId) {
        userInfoService.getUserInfo();
        userInfoService.getUserInfo().forEach((key, val) -> {
            System.out.println(key + "-" + val);
        });
    }
}
